﻿Imports System.Configuration
Public Class sqlConfiguracon




    Public Shared Function GetConnectionString() As String
        Return GetConnectionString("SGD_DBConnectionString")
    End Function

    Public Shared Function GetConnectionString(ByVal connectionName As String) As String
        'la linea de abajo es para web
        '    Return ConfigurationManager.ConnectionStrings(connectionName).ConnectionString
        Return "ata Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\StockDalcoSQL.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
    End Function


End Class

